package com.woniu.controller;

import com.woniu.utils.SMSUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping("/run")
    public String testRun(){
        return "==build success==";
    }

    public static void main(String[] args) {
        String code = SMSUtils.getRandomNum(19);
        System.out.println(code);
    }
}
